﻿using System;
using NHibernate;
namespace DataAccessObject.Hibernate
{
    public interface INhSessionFactory
    {
        NHibernate.ISession GetCurrentSession(SessionContext context);
        NHibernate.ISession GetSession();
        ISessionFactory  this[SessionContext context]
        {
            get;set;
        }
    }
}
